package igor.mass.render.renderers;

import android.content.Context;
import igor.mass.model.AndroidParam;
import igor.mass.render.renderables.AndroidRenderable;
import igor.mass.render.renderables.StringRenderable;
import igor.mass.render.validators.AndroidValidator;
import igor.mass.render.validators.StringValidator;

public abstract class AndroidRenderer implements Cloneable{
	public AndroidRenderable renderable;
	public AndroidValidator validator;
	public AndroidParam param;

	protected abstract void initialise(Context context, AndroidParam param, Object initialValue);
	protected abstract AndroidRenderer clone();
	
	public AndroidRenderable getRenderable(){ 
		return renderable;
	}
	
	public AndroidValidator getValidator() {
		return validator;
	}
}
